<extend name="Base/common" />
<block name="body">
    <div class="wrapper-sm padd clear">
        <!--用户 -->
        <div class="self-side-l fl">
            <include file="Template:others" />
            <div class="self-hot-con">
                <include file="Template:hot" />
            </div>
        </div>
        <div class="self-side-content fr">
            <div class="code-setup box">
                <h2 class="fs-20 padd-lr v-align"><i class="icon icon-code-setup mar-r5"></i><span>关注管理</span></h2>
            </div>
            <div class="box mar-t20">
                <div class="code-item-setup">
                    <div class="code-item-attention code-setup">
                        <ul class="float-ul ul-col-5 bor-bottom">
                            <li class="active">
                                <a href="{:U('Others/fans', array('uid'=>$user['id']))}"><span>粉丝 ({$user.statis.fans})</span></a>
                            </li>
                            <li>
                                <a href="{:U('Others/friend', array('uid'=>$user['id']))}"><span>关注 ({$user.statis.follows})</span></a>
                            </li>
                            <li>
                                <a href="{:U('Others/game', array('uid'=>$user['id']))}"><span>游戏 ({$user.statis.scribe})</span></a>
                            </li>
                        </ul>
                    </div>
                    <div class="code-item-list">
                        <notempty name="data">
                            <volist name="data" id="v">
                                <div class="code-list-detail padd-lr">
                                    <div class="bor-bott v-align padd-tb10">
                                        <a href="{:U('Others/index?uid='.$v['id'])}">
                                            <div class="cover cover-list-fans  box-radius fl">
                                                <img src="{$v.avatar|default="__ROOT__/Public/Home/images/avatar.jpg"}" alt="{$v.nickname}">
                                            </div>
                                        </a>
                                        <div class="code-list-username">
                                            <h3 class="padd-tb10">{$v.nickname}</h3>
                                            <ul class="float-ul ul-col-6 v-align">
                                                <li><a href="#"><span class="fc-grayer">粉丝 {$v.statis.fans}</span></a></li>
                                                <li><a href="#"><span>关注 {$v.statis.follows}</span></a></li>
                                                <li><a href="#"><span>游戏 {$v.statis.scribe}</span></a></li>
                                            </ul>
                                        </div>
                                        <div class="code-list-focus">
                                            <eq name="type" value="1">
                                                <div class="btn btn-primary btn-game-attent js-follow follow-content-{$v['id']} active" data-uid="{$v['id']}">已关注</div>
                                            <else/>
                                                <eq name="v.is_follow" value="0">
                                                    <div class="btn btn-primary btn-game-attent js-follow follow-content-{$v['id']}" data-uid="{$v['id']}">关注</div>
                                                <else/>
                                                    <div class="btn btn-primary btn-game-attent js-follow follow-content-{$v['id']} active" data-uid="{$v['id']}">已关注</div>
                                                </eq>
                                            </eq>
                                        </div>
                                    </div>
                                </div>
                            </volist>
                            <else/>
                            <div class=" padd-lr10 padd-tb comment-root clear">
                                <div class="clear  smile-con">
                                    <div class="smile fl"></div>
                                    <div class="about-title fl">
                                        <div class="about-text mar-t20">
                                            <h3 class="fs-20 padd-t10">哎呀 没有信息</h3>
                                            <div class="self-detail_text fs-14 padd-tb10 about-detail"><span>TA还没有粉丝哦</span></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </notempty>
                    </div>
                    <notempty name="page">
                        <div class="code-item-page">
                            <div class="black">{$page}</div>
                        </div>
                    </notempty>
                </div>
            </div>
        </div>
    </div>
</block>